//
//  UIScrollView+Add.h
//  AtCar
//
//  Created by 代佳宏 on 2020/12/4.
//  Copyright © 2020 车一转. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIScrollView (Add)

- (void)addRefeshHeader:(MJRefreshComponentAction)refreshingBlock;
- (void)addRefreshFooter:(MJRefreshComponentAction)refreshingBlock;

- (void)endRefreshing;

- (void)beginHeaderRefreshing;
- (void)endHeaderRefreshing;

- (void)beginFooterRefreshing;
- (void)endFooterRefreshing;
- (void)endFooterRefreshingWithNoMoreData;

@end

NS_ASSUME_NONNULL_END
